package src.percolation;

import java.util.Random;

public class Ej1 {

	public static void main(String[] argvs) {
		
		int large = 10;
		Random gen = new Random(1);
		long seed = gen.nextLong();
		double probability = 0.7;
		
		Red red = new Red(large,seed);
		
		red.createGrid(probability);
		
		red.showClusters();
		System.out.println(red.doesPercolate());
		
	}
	
}
